<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item>首页</el-breadcrumb-item>
    <template v-if="typeFu==1">
      <el-breadcrumb-item :to="{ path: '/campSystem/campOper' }">营地中心</el-breadcrumb-item>
      <el-breadcrumb-item v-if="statusFu==2">创建营地</el-breadcrumb-item>
      <el-breadcrumb-item v-if="statusFu==3">{{campName}}</el-breadcrumb-item>
    </template>

    <template v-if="typeFu==2">
      <el-breadcrumb-item>用户管理</el-breadcrumb-item>
    </template>
    <template v-if="typeFu==3">
      <el-breadcrumb-item>财务管理</el-breadcrumb-item>
    </template>


  </el-breadcrumb>
</template>

<script>
  export default {
    name: "BreadCrumb",
    props: {
      typeFu: [String, Number],// 1-营地中心 2-用户管理
      statusFu: [String, Number],
      campName: [String, Number]
    },
    data() {
      return {}
    },
  }
</script>

<style scoped lang="scss">
  .el-breadcrumb {
    /*z-index: 4 !important;*/

    ::v-deep .el-breadcrumb__item {
      height: 14px;
      line-height: 14px;
      font-size: 14px;
      font-family: PingFang SC;

      .el-breadcrumb__inner {
        color: #BEC0C5;
        font-weight: 600;
      }

      .el-breadcrumb__separator {
        color: #BEC0C5;
        font-weight: normal;
      }

      &:last-child {
        .el-breadcrumb__inner {
          color: #4D75F3;
        }
      }
    }
  }
</style>
